<?php

if($frmtGroup){
      //debug($frmtGroup);
?>
    <script type="text/javascript">
    	var gblfrmtData = <?php echo json_encode($frmtGroup) ;?>;
    </script>
    <div style="margin-bottom: 10px;">
    <?php
      echo "<b><u>Revenue from $group_name for year $revenue_year at $location_name</u></b>";
      echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
    ?>
    </div>
    <div>
        <table border="0" cellpadding="0" cellspacing="5" class="data_table">
            <tbody>
                <tr>
                    <td> Expected Revenue </td>
                    <td><?php echo CURRENCY.' &nbsp; '.$frmtGroup['bill_totals'] ;?></td>
                </tr>
                <tr>
                    <td> Actual Revenue </td>
                    <td><?php echo CURRENCY.' &nbsp; '.$frmtGroup['bill_payment_totals'] ;?></td>
                </tr>
                <tr>
                    <td> Deficit </td>
                    <td><?php echo CURRENCY.' &nbsp; '.$frmtGroup['bill_debit_totals'] ;?></td>
                </tr>
            </tbody>
        </table>
    </div>
<?php
}
else{
    echo "No Report At the Moment.";
}

?>